// 数据存储至cookies
import Cookies from 'js-cookie'
// 声明key
const TokenKey = 'vue_admin_template_token'
// 获取key
export function getToken() {
  return Cookies.get(TokenKey)
}
// 设置key
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}
// 删除key
export function removeToken() {
  return Cookies.remove(TokenKey)
}
